.page-title-holder.d-flex.align-items-center
  %h1.page-title.gl-font-size-h-display= _('Snippets')

  .page-title-controls.gl-display-flex.gl-align-items-center.gl-gap-5
    = link_to _("Explore snippets"), explore_snippets_path
    - if can?(current_user, :create_snippet)
      = render Pajamas::ButtonComponent.new(href: new_snippet_path, variant: :confirm, button_options: { title: _("New snippet") }) do
        = _("New snippet")
